package com.module.imagelib.glide.callback;


import com.module.imagelib.glide.utils.ImageFileUtils;

import java.io.File;

/**
 * 原图下载
 * Created by dell on 2018/12/3
 */
public class FileCallBack implements ICallBack<File> {
    @Override
    public void onLoaded(final File resource) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                ImageFileUtils.copyFile(resource);
            }
        }).start();
    }



}
